home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BMUG Revelations
/
BMUG Revelations.toast
/
Utilities
/
Random
/
Commodore 64c
/
SOURCE
/
Modes.h
< prev
next >
Wrap
Text File
|
1992-07-25
|
379b
|
10 lines
#define ImmediateByte() (ByteAt(pc))
#define ZeroPageAddr() (ByteAt(pc))
#define ZeroPageXAddr() (255&(x+ByteAt(pc)))
#define ZeroPageYAddr() (255&(y+ByteAt(pc)))
#define IndirectXAddr() (WordAt(255&(ByteAt(pc)+x)))
#define IndirectYAddr() (WordAt(ByteAt(pc))+y)
#define AbsoluteAddr() (WordAt(pc))
#define AbsoluteXAddr() (WordAt(pc)+x)
#define AbsoluteYAddr() (WordAt(pc)+y)